package com.zhuchaooasystem.common;

import android.graphics.Color;

/**
 * Created by cc on 16/7/6.
 * <p>
 * 一些常量
 */
public class Key {

    // 设置退出连按的时间间隔为一秒
    public static final int EXIT_GAP = 1000;

    //欢迎页跳转到首页
    public static final int WELCOME_TO_HOME = 2000;

    //网络请求超时
    public static final int HTTP_CONNECT_TIMEOUT = 60000;

    //    SharedPreferences 用的参数
    public static final String CONFIG_FILE = "Config_oasystem";

    //    本地存储路径
    public static final String PATH_LOCAL = "/zhuchaooasystem";
    public static final String PATH_LOCAL_IMAGE_DOWNLOAD = PATH_LOCAL + "/images/download"; // 图片保存路径
    public static final String PATH_LOCAL_IMAGE_CAMERA = PATH_LOCAL + "/images/photos"; // 拍照图片保存路径
    public static final String PATH_LOCAL_IMAGE_COMPRESS = PATH_LOCAL + "/images/compress"; // 压缩图片保存路径
    public static final String PATH_LOCAL_RECORDS = PATH_LOCAL + "/records"; // 录音文件保存路径
    public static final String PATH_LOCAL_APK = PATH_LOCAL + "/apk"; // apk保存路径
    //用来标记服务界面的recycleview加载的是那种类型的数据  例如正常的 服务状态 筛选
    public static final String SERVICE_NORMAL = "normal";
    public static final String SERVICE_STATE = "state";
    public static final String SERVICE_FILTER = "filter";
    //跳转到服务详情页面传递id
    public static final String ID = "id";
    //编辑服务时传递ServiceDetailEntity
    public static final String SERVICE_DETAIL_ENTITY = "ServiceDetailEntity";


    //获取权限--电话
    public static final int CALL_PHONE = 0x0001;
    //读取电话状态
    public static final int READ_PHONE_STATE = 0x0002;
    //----录音
    public static final int RECORD_AUDIO = 0x0003;
    //----拍照
    public static final int CAMERA = 0x0004;
    //----定位
    public static final int LOCATION = 0x0005;
    //----定位
    public static final int EXTERNAL_STORAGE = 0x0006;


    public static final int[] RECYCLEVIEW_REFRESH_COLORS = new int[]{Color.parseColor("#1bc3ad")};

    //跳转到订单详情页---orderid
    public static final String ORIDERID = "orderid";

}



